package com.situ.stmall.manager.entity;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/**
 * lombok 以注解的方式添加，get set toString 构造方法；
 * 在父项目中添加公共的Lombok依赖
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
public class Category {
    private Integer id;
    private String name;
    private String dscp;
    private String pic;
    private Integer parentId;
    private Integer recom;
    private Integer status;

    //关联对象
    private  Category parent;
}
